package com.hanson.platform_api.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: 阿里云oss存储properties属性配置
 * @classname: AliYunOSSProperties
 * @author: Hanson
 * @create: 2021/01/13
 **/
@Data
@ToString
@Component
@ConfigurationProperties(prefix = "aliyun.oss",ignoreUnknownFields = true)
public class AliYunOSSProperties {
    private String endpoint;
    private String accesskeyId;
    private String accesskeySecret;
    private String bucketName;
    private String fileHost;
}
